<?php

require_once '../include/common.inc.php';

if (!checkAdmin()) {
    header("LOCATION:index.php");
    exit;
}

$menu_index = 4;
$page_title = 'JANSEN';
$guide_message = 'System | New Item Description';
$alert_message = '';
$email = '';

getMyParam('action');
getMyParam('newitemset');
getMyParam('newitemsetzh');

if ($action == "update") {
	SetSystemtbValue('newitemset', addslashes($newitemset),addslashes($newitemsetzh));
    $alert_message = 'update succeed.';
}

$nitem=getSystemArray("");
$out_newitem = $nitem['newitemseten'];
$out_newitemzh = $nitem['newitemsetzh'];

$debug = 1;
debuginfo();

include_once(JANSEN_ROOT . 'admin/menu_list.php');
require_once PrintEot('a_header');
require_once PrintEot('a_s_newitemset');
require_once PrintEot('a_footer');

?>